﻿// ***********************************************************************
// Assembly         : SecurityLayer
// Author           : LJO+01 (Laurent Jordi)
// Created          : 06-05-2013
//
// Last Modified By : LJO+01 (Laurent Jordi)
// Last Modified On : 06-05-2013
// ***********************************************************************
// <copyright file="IFormsAuthenticationService.cs" company="Copyright © Innovacall 2011">
//     Copyright (c) Copyright © Innovacall 2011. All rights reserved.
// </copyright>
// <summary></summary>
// ***********************************************************************

namespace InnovaApp.Layers.SecurityLayer.Models.AccountModels.MembershipServices
{
    /// <summary>
    /// Interface IFormsAuthenticationService
    /// </summary>
    public interface IFormsAuthenticationService
    {
        /// <summary>
        /// Signs the in.
        /// </summary>
        /// <param name="userName">Name of the user.</param>
        /// <param name="createPersistentCookie">if set to <c>true</c> [create persistent cookie].</param>
        void SignIn(string userName, bool createPersistentCookie);
        /// <summary>
        /// Signs the out.
        /// </summary>
        void SignOut();
    }
}
